package com.toman.JavaBean;



import java.io.Serializable;
import java.util.Date;

/**
 * 设备预维护
 * 
 * @author toman
 * @email sunlightcs@gmail.com
 * @date 2018-05-29 14:06:09
 */
public class PreMaintenanceRecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	private String passAllIf;

//是否选中
	private boolean select_status;

	private Integer deleteFlag;

	public boolean isSelect_status() {
		return select_status;
	}

	public void setSelect_status(boolean select_status) {
		this.select_status = select_status;
	}

	public Integer getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	/**
	 * 
	 */
	private Long id;
	/**
	 * 设备ID
	 */
	private String deviceId;
	/**
	 * 设备预维护项目列表,维护结果(0表示合格，1表示不合格)，格式：预维护项目id1,维护结果1;预维护项目id2,维护结果2
	 */
	private String devicePreMaintenanceItems;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 状态，0代表未审核，1代表已审核
	 */
	private String checkStatus;
	/**
	 * 企业id
	 */
	private String companyId;
	/**
	 * 创建时间
	 */
	private String createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**审核时间*/
	private String auditTime;

	
	private String deviceName;

    /**设备编码*/
    private String deviceCode;

	
	private String preMaintenanceNames;

	/**关联的设备*/
	 private DeviceEntity deviceEntity;

	private Long createUserId;
	private SysUserEntity createUserEntity;

	private Long auditUserId;
	
	private SysUserEntity auditUserEntity;


	/**计划保养时间*/
	private String planProtectTime;
    /**实际保养时间*/
	private String acctualProtectTime;

    /**保养周期(天) 前端带参数*/
   
    private String maintenancePeriod;
    /**上一次运行时间 前端带参数*/
   
    private String lastMaintenanceTime;
	/**
	 * 设置：
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：设备ID
	 */
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	/**
	 * 获取：设备ID
	 */
	public String getDeviceId() {
		return deviceId;
	}
	/**
	 * 设置：设备预维护项目列表,维护结果(0表示合格，1表示不合格)，格式：预维护项目id1,维护结果1;预维护项目id2,维护结果2
	 */
	public void setDevicePreMaintenanceItems(String devicePreMaintenanceItems) {
		this.devicePreMaintenanceItems = devicePreMaintenanceItems;
	}
	/**
	 * 获取：设备预维护项目列表,维护结果(0表示合格，1表示不合格)，格式：预维护项目id1,维护结果1;预维护项目id2,维护结果2
	 */
	public String getDevicePreMaintenanceItems() {
		return devicePreMaintenanceItems;
	}
	/**
	 * 设置：备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：备注
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * 设置：状态，0代表未审核，1代表已审核
	 */
	public void setCheckStatus(String checkStatus) {
		this.checkStatus = checkStatus;
	}
	/**
	 * 获取：状态，0代表未审核，1代表已审核
	 */
	public String getCheckStatus() {
		return checkStatus;
	}
	/**
	 * 设置：企业id
	 */
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	/**
	 * 获取：企业id
	 */
	public String getCompanyId() {
		return companyId;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public String getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

    public String getPreMaintenanceNames() {
        return preMaintenanceNames;
    }

    public void setPreMaintenanceNames(String preMaintenanceNames) {
        this.preMaintenanceNames = preMaintenanceNames;
    }

	public DeviceEntity getDeviceEntity() {
		return deviceEntity;
	}

	public void setDeviceEntity(DeviceEntity deviceEntity) {
		this.deviceEntity = deviceEntity;
	}

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public SysUserEntity getUserEntity() {
        return createUserEntity;
    }

    public void setUserEntity(SysUserEntity userEntity) {
        this.createUserEntity = userEntity;
    }

    public SysUserEntity getCreateUserEntity() {
        return createUserEntity;
    }

    public void setCreateUserEntity(SysUserEntity createUserEntity) {
        this.createUserEntity = createUserEntity;
    }

    public String getPlanProtectTime() {
        return planProtectTime;
    }

    public void setPlanProtectTime(String planProtectTime) {
        this.planProtectTime = planProtectTime;
    }

    public String getAcctualProtectTime() {
        return acctualProtectTime;
    }

    public void setAcctualProtectTime(String acctualProtectTime) {
        this.acctualProtectTime = acctualProtectTime;
    }

    public String getMaintenancePeriod() {
        return maintenancePeriod;
    }

    public void setMaintenancePeriod(String maintenancePeriod) {
        this.maintenancePeriod = maintenancePeriod;
    }

    public String getLastMaintenanceTime() {
        return lastMaintenanceTime;
    }

    public void setLastMaintenanceTime(String lastMaintenanceTime) {
        this.lastMaintenanceTime = lastMaintenanceTime;
    }

    public Long getAuditUserId() {
        return auditUserId;
    }

    public void setAuditUserId(Long auditUserId) {
        this.auditUserId = auditUserId;
    }

    public SysUserEntity getAuditUserEntity() {
        return auditUserEntity;
    }

    public void setAuditUserEntity(SysUserEntity auditUserEntity) {
        this.auditUserEntity = auditUserEntity;
    }

	public String getAuditTime() {
		return auditTime;
	}

	public void setAuditTime(String auditTime) {
		this.auditTime = auditTime;
	}

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }
	public String getPassAllIf() {
		return passAllIf;
	}

	public void setPassAllIf(String passAllIf) {
		this.passAllIf = passAllIf;
	}
}
